    {% load staticfiles %}
    
    <link href="{% static 'css/bootstrap.css' %}" rel="stylesheet" media="screen">
    
	<table class="table">
  		<tr>
  				<td>Nome</td>
  				<td>Apelido</td>
  				<td>RG</td>
  				<td>CPF</td>
  			</tr>
  		{% for morador in moradores%}
  			
  			<tr>
  				<td>{{morador.nome}}</td>
  				<td>{{morador.apelido}}</td>
  				<td>{{morador.rg}}</td>
  				<td>{{morador.cpf}}</td>
  				<td> <a href="{% url "editar" pk=morador.id %}">Alterar</a></td>
  				<td> <a href="{% url "delete" pk=morador.id %}">Excluir</a> </td>
  			</tr>	
  		{% endfor %}
  	</table>
  	<a href="{% url 'novo'%}">Inserir Morador</a>
  	
  	<script src="{% static 'js/bootstrap.min.js' %}"></script>
  	